
const mutations = {

    //首次添加至购物车
    firstAddCart(state, payload) {
        payload.checked = true
        state.cartList.push(payload)
    },
    addCounter(state, payload) {
        console.log('aaaaa');
        payload.count++
    },

}
export default mutations